package util;

/**
 * search criteria.
 * @author idan
 * @param <T> type to which the criteria refers.
 */
public interface Criteria<T>
{
	/**
	 * @param object object to try to match.
	 * @return 'true' if 'object' matches the criteria and 'false' otherwise.
	 */
	boolean match(T object) ;
}
